<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="DownloadPro2k, App_Web_v22zhzdt" %>

<%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="AjaxControlToolkit" %>
    <%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
  <style>
  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 18px;
    font-weight: 500;
}
.card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
    margin-top: -20px;
    padding: 7px;
    padding-left: 10px;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 7px 8px;
    vertical-align: middle;
    border-color: #ddd;
}
#MainContent_Button3
{
    margin-left:8px;
}
.panel-heading {
    padding: 7px;
    background: #ff7038fa !important;
    font-size:16px;
}
.panel
{
    background:#eee;
}
#MainContent_Label1
{
       font-size:13px;
    font-weight:bold;   
}
#MainContent_lblFromDate
{
    font-size:13px;
    font-weight:bold; 
}
#MainContent_lblToDate
{
    font-size:13px;
    font-weight:bold; 
}
#MainContent_Label2
{
  font-size:13px;
  font-weight:bold;    
}
#MainContent_Label3
{
   font-size:13px;
  font-weight:bold;
}
#MainContent_Label11
{
   font-size:13px;
  font-weight:bold;   
}
  </style>
    <div class="main-panel">
        <div class="content">
        <div class="container" id="download52" runat="server">
     <div class="row dash-pane2">

     <div class="card">
                <div class="card-header card-header-warning">
                  <h4 class="card-title"><i class="fa fa-edit fa-fw"></i><asp:Label ID="lblDownloadAttendanceFrom" runat="server" Text="Download Attendance"></asp:Label>

                &nbsp; &nbsp;&nbsp;&nbsp;     &nbsp; &nbsp;&nbsp;&nbsp;<asp:Label ID="lblsms" runat="server" Text=""></asp:Label>

                  </h4>
                </div>
                <div class="card-body">
                 <div class="row">
                     <div class="col-lg-4">
         <asp:Label ID="Label1" runat="server" Text="Devices:"></asp:Label>
            <asp:DropDownList ID="Device_List" runat="server" class="form-control" AutoPostBack="True" 
                             onselectedindexchanged="Device_List_SelectedIndexChanged1">
            </asp:DropDownList>
       
       
        <%--<asp:TextBox ID="mTransIdTxt" runat="server" Visible="False" class="form-control" ></asp:TextBox>--%>
        
        
        </div>       
        
        <div class="col-lg-4">
                              <b><asp:Label ID="lblFromDate" runat="server" Text="From Date"></asp:Label></b>
                              <asp:TextBox ID="txtdate" runat="server" class="form-control"  />
            <cc1:CalendarExtender ID="cal1" runat="server" TargetControlID="txtdate" Format="dd/MM/yyyy"  />
                </div>

                 <div class="col-lg-4">
                <b><asp:Label ID="lblToDate" runat="server" Text="To Date"></asp:Label></b>
                      <asp:TextBox ID="txttodate" runat="server" class="form-control" 
                         
                           />
                      <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Format="dd/MM/yyyy" 
                          TargetControlID="txttodate" />
                              
                              </div>

                 </div>
                 <div class="row" style="margin-left:0px; margin-right:0px; margin-top:10px;">
                 <div class="panel panel-primary" style="width:100%">
                 <div class="panel-heading">
                 <asp:Label ID="lblDeviceInfo" runat="server" Text="Device Info"></asp:Label>
                 </div>
                 <div class="panel-body" style="padding-bottom:10px !important;">
                   <div class="row" style="padding-top:15px;">
                      <div class="col-lg-4">
                              <asp:Label ID="Label2" runat="server" Text="Model:  "></asp:Label>
        <asp:Label ID="LDev_ID" runat="server"></asp:Label>
                              </div>
                               <div class="col-lg-4">
                              <asp:Label ID="Label3" runat="server" Text="Serial No:  "></asp:Label>
        <asp:Label ID="LDev_Name" runat="server"></asp:Label>
                              </div>
                               <div class="col-lg-4">
                              <asp:Label ID="Label11" runat="server" Text="Connect Status:"></asp:Label>
        <asp:Image ID="StatusImg" runat="server" Height="20px" 
            ImageUrl="~/images/redon.png" Width="20px" />
                              </div>
                             
 
                 </div>
                 
                 </div>
                 </div>
                 </div>

               
               

            <div class="row" style="margin-left:0px; margin-right:0px; margin-top:15px;">
             <div class="table-responsive" style="height:180px; overflow:auto">
                 <asp:GridView ID="Grid1" runat="server" class="table table-bordered table-hover table-striped"
          AutoGenerateColumns="False" >
         
         
          <Columns>
             
             
                <asp:BoundField DataField="Cardno" HeaderText="Cardno" SortExpression="Father Name">
               
            </asp:BoundField>
              
            
            <asp:BoundField DataField="PunchDateTime" HeaderText="PunchDateTime" SortExpression="Desig_Name">
                
            </asp:BoundField>


       <asp:BoundField DataField="temperature" HeaderText="PunchDateTime" SortExpression="Desig_Name">
                
            </asp:BoundField>
              
           </Columns>
         
      </asp:GridView> 
            </div>
            </div>
            <div class="row" style="margin-left:auto; margin-right:auto; display:table; margin-top:20px; margin-bottom:10px;s">
            			
                               <%-- <asp:Button ID="btnrefreash1" runat="server" Text="Connect Device"  
        type="button" class="btn btn-success " onclick="btnrefreash_Click" Width="154px" />--%><i class="fa fa-plus;"></i>
        <asp:Button ID="Button1" runat="server" type="button" Text="Connect "
           class="btn btn-success" onclick="Button1_Click1"
           /> &nbsp;&nbsp;

           <asp:Button ID="Button3" runat="server" type="button" Text="Download All Attendance" Visible="False"
           class="btn btn-success"   />&nbsp;&nbsp;
                <asp:Button ID="Button5" runat="server" type="button" Text="Download New Attendance"  
           class="btn btn-success" onclick="Button5_Click" Visible="False"   /> &nbsp;&nbsp;

                <asp:Button ID="Button6" runat="server" type="button" Text="Download Log Photo's"  
           class="btn btn-success"   Visible="False" OnClick="Button6_Click"   /> &nbsp;&nbsp;


           <asp:Button ID="Button4" runat="server" type="button" Text="Get log info" Visible="False"
           class="btn btn-success" onclick="Button4_Click"   />&nbsp;&nbsp;

           <asp:Button ID="Button2" runat="server" type="button" Text="Close"
           class="btn btn-danger" onclick="Button2_Click"  />
               <asp:Label ID="UpdateTimeTxt" runat="server" Visible="false"></asp:Label>
                <asp:Label ID="StatusTxt" runat="server" Visible="false"></asp:Label>
                  <asp:Label ID="mTransIdTxt" runat="server" Visible="false"></asp:Label>
           <i  class="fa fa-trash-o;"></i>
            </div>
                </div>
              </div>
 <div class="col-lg-12" style="display:none;">
                        <div class="panel panel-primary">
      
                              <div class="panel-heading">
                                <h3 class="panel-title"><asp:Label ID="lblConnectDevice" runat="server" Text="Connect Device" Visible="false"></asp:Label>  </h3>
                            </div>

                            <asp:TextBox ID="txtReadTransactionDatabasePacketSize" runat="server" Text="200"></asp:TextBox>

                            </div>
                            </div>
    
     <br />
                            
</div>
</div>
</div>

</div>


    </asp:Content>

